package com.gulimall.common.enums;

import lombok.Getter;

/**
 * @author ht
 * @version 0.1
 * @date 2021/9/10 15:47
 * @email ht035200@163.com
 */
@Getter
public enum AttrEnum {
    /**
     * 销售属性
     **/
    ATTR_TYPE_SALE(0, "sale"),
    /**
     * 基础属性
     */
    ATTR_TYPE_BASE(1, "base"),
    /**
     * 基础属性和销售属性
     **/
    ATTR_TYPE_BASE_AND_SALE(2, "saleAndBase");
    private final int code;
    private final String type;

    AttrEnum(int code, String type) {
        this.code = code;
        this.type = type;
    }
}
